package com.ehome.poct.core.dao.mybatis;

import com.ehome.mybatisplus.support.AbstractCrudRepository;
import com.ehome.poct.core.api.dto.report.BldUniAnalysisDTO;
import com.ehome.poct.core.dao.entity.report.BldUniAnalysisDO;
import com.ehome.poct.core.dao.mybatis.mapper.report.BldUniAnalysisMapper;
import com.ehome.poct.core.repository.report.BldUniAnalysisRepository;
import lombok.AllArgsConstructor;
import org.springframework.stereotype.Repository;

/**
 * 血常规联机检测分析RepositoryImpl
 *
 * @author wuyingchao
 * @Date 2022-05-20 10:38
 */
@Repository
@AllArgsConstructor
public class BldUniAnalysisRepositoryImpl extends AbstractCrudRepository<BldUniAnalysisDO, BldUniAnalysisDTO> implements BldUniAnalysisRepository {
    private final BldUniAnalysisMapper mapper;

    @Override
    public BldUniAnalysisDTO selectByCode(String code, Integer type) {
        return mapper.selectByCode(code, type);
    }
}
